<script>
	export default {
		onLaunch: function() {
			
		},
		onShow: function() {
			this.Util.CheckUpdate();
			//uni.setStorageSync("Token","");
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>
<style lang="scss">
	@import "/static/iconfont.css";
	/* 解决头条小程序组件内引入字体不生效的问题 */
	/* #ifdef MP-TOUTIAO */
	@font-face {
			font-family: uniicons;
			font-weight: normal;
			font-style: normal;
			src: url('/static/uni.ttf') format('truetype');
	}
	/* #endif */
	.m-icon {
			font-family: uniicons;
			/* font-size: 24px; */
			color:#cccccc;
			margin-left: 20px;
			font-weight: normal;
			font-style: normal;
			line-height: 1;
			display: inline-block;
			text-decoration: none;
			-webkit-font-smoothing: antialiased;
	}
	.uni-icon{font-family: uniicons;}
	/*每个页面公共css */
	page{background-color: #f0f1f2;}
	/deep/ .imglist ._root ._block{
		display: inline-flex;
		flex-direction: column;
		img{ font-size:0px !important; }
	}
	view,text,textarea,input{box-sizing:border-box !important;}
	view,text,textarea,input{-moz-box-sizing:border-box !important;} /* Firefox */
	view,text,textarea,input{webkit-box-sizing:border-box !important;} /* Safari */
	.nodata{width:100%; height:278rpx; padding-top:30rpx; color:#808080; text-align: center; background-image:url(''); background-position: center center; background-size: 400rpx 248rpx; background-repeat: no-repeat;}
	.top10{margin-top: 10rpx;}
	.top20{margin-top: 20rpx;}
	.top30{margin-top: 30rpx;}
	.top40{margin-top: 40rpx;}
	.top50{margin-top: 50rpx;}
	.red{color:red !important;}
	.green{color:#00bc6d !important;}
	.blue{color:#3598fc !important;}
	.yellow{color:#FF7C0C !important;}
	.gray{color:#d1d1d1;}
	.black{color:#575757;}
	.coffee{color:#9c4c06;}
	.hidden{display:none !important;}
	.loadmore {
	    width: 100%;
	    height: 80rpx;
	    line-height: 80rpx;
	    padding-bottom: 30rpx;
	    text-align: center;
	    color: #a9a9a9;
	    background-color: transparent;
	}
	
	.loadmore image {
	    width: 34rpx;
	    height: 37rpx;
	    vertical-align: middle;
	}
	.nav-bar{ position: fixed; width: 100%; top: 0; color: #fff; z-index:3;}
	.nav-bar .nav-title{position:absolute; width:100%; height:100%; background:#01c5b7;  left:0rpx; right:0rpx;}
	.nav-bar .searchs{ max-width: calc(700rpx - 85px); color: #fff; font-size: 15px; position: absolute; padding-left: 0rpx; display: flex; flex-direction: row; justify-content: space-between;
		.icons{width:50rpx; display: flex; flex-direction: column; align-items: center; image{width:32rpx; height:32rpx; margin:auto; border-radius:0rpx; box-shadow:0rpx 0rpx 0rpx;}}
		.text{width:auto; padding-right:30rpx; background-image: url(/static/back.png); background-size:26rpx; background-repeat: no-repeat; background-position: left 0rpx center;}
		.texts{flex:1; min-width:200rpx; padding-right:20rpx; overflow: hidden; font-size:36rpx;}
		.back{width:60rpx; background-image: url(/static/back.png); background-size:40rpx; background-repeat: no-repeat; background-position: left 10rpx center;}
		.search{width:200rpx; height:100%; border-radius: 60rpx; padding-left:10rpx; background:#ffffff;  display: flex; flex-direction: row;
			.icon{width:50rpx; display: flex; flex-direction: column; align-items: center; image{width:32rpx; height:32rpx; margin:auto;}}
			.tip{width:auto; color:#808080; font-size:28rpx;}
		}
	}
	/*1px解决方案*/
	.border-t{border-image: url() 10 repeat;
	border-style: solid;
	border-width:0px;
	border-top-width: 1px;
	}
	.border-b{border-image: url() 10 repeat;
	border-style: solid;
	border-width:0px;
	border-bottom-width: 1px;
	}
	
	.border-l{border-image: url() 10 repeat;
	border-style: solid;
	border-width:0px;
	border-left-width: 1px;
	}
	
	.border-r{border-image: url() 10 repeat;
	border-style: solid;
	border-width:0px;
	border-right-width: 1px;
	}
	
	.border-tb{border-image: url() 10 repeat;
	border-style: solid;
	border-width:0px;
	border-top-width: 1px;
	border-bottom-width: 1px;
	}
	
	.border-tl{border-image: url() 10 repeat;
	border-style: solid;
	border-width:0px;
	border-top-width: 1px;
	border-left-width: 1px;
	}
	
	.border-rb{border-image: url() 10 repeat;
	border-style: solid;
	border-width:0px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	}
	
	.border{border-image: url() 10 repeat;
	border-style: solid;
	border-width:1px;
	}
	
	.radius{border-image: url() 6 repeat;
	border-style: solid;
	border-width:1px;
	}
	
	
	/*1px解决方案*/
</style>